#include"Queue.h"



void QueueTest()
{
		Queue q;
		QueueInit(&q);

		QueuePush(&q, 1);
		QueuePush(&q, 2);

		printf("%d ", QueueFront(&q));
		QueuePop(&q);
		printf("%d ", QueueFront(&q));
		QueuePop(&q);

		QueuePush(&q, 3);
		QueuePush(&q, 4);
		QueuePush(&q, 5);


		while (!QueueEmpty(&q))
		{
			printf("%d ", QueueFront(&q));
			QueuePop(&q);
		}
		printf("\n");

}

int main()
{
	QueueTest();

	return 0;
}